package de.gwtprime.shared.requestFactory;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

import de.gwtprime.server.model.Article;
import de.gwtprime.server.model.EntityLocator;

@ProxyFor(value = Article.class, locator = EntityLocator.class)
public interface ArticleProxy extends EntityProxy {

	
	Long getId();
	String getTitle();
	
	void setTitle(String title);
	
	String getText();
	
	void setText(String text);
	
	public List<ArticleSectionProxy> getSections();
	
	public List<ArticleCommentProxy> getComments();
	
	public int getNumberComments();
	
	public String getImage();
	
	public ArticleProxy getNextArticle();
	
	public ArticleProxy getPrevArticle();
	
	
}
